.segBox {
  display: flex;
  margin: 5px 0;
  align-items: center;
}

.seglabel {
  font-size: 13px;
  color: gray;
  align-items: center;
  vertical-align: middle;
  line-height: 20px;
}

.whereBox {
  padding-right: 15px;
  position: relative;

  .tableRelation_list_delete {
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }

  &Logic {
    display: flex;
    align-items: center;
    align-content: center;
    margin-bottom: 5px;
    border: 1px solid #77b9ff;
    background-color: #77b9ff;
    padding: 5px;
    border-radius: 5px;

    .oaa :deep(.el-select__wrapper) {
      background-color: transparent;
      color: white;
      box-shadow: none;
    }

    .oaa :deep(.el-select__placeholder) {
      color: white;
    }
  }
}

.whereSelect {
  position: relative;
  border: 2px solid #e6a33c;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 5px;
  margin-bottom: 5px;

  &List {
    display: flex;
    margin-bottom: 5px;
  }
}

.noDataText {
  text-align: center;
  padding: 5px 0;
  color: #999;
  font-size: 14px;
}

.selectFieldList {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;

  & > span {
    color: #999;
    width: fit-content;
    white-space: nowrap;
    font-size: 13px;
  }

  &Input {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    border: 1px solid #e7e7e7;
    padding: 1px 5px;
    align-items: center;
    &Name {
      display: inline-flex;
      span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 180px;
        width: fit-content;
        padding-right: 10px;
      }
    }
  }
}

.tableRelation {
  &_title {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #999;
    padding: 10px 0 5px 0;
  }

  &_list {
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 2px solid #909399;
    position: relative;
    margin-right: 15px;

    &_delete {
      position: absolute;
      right: -22px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
    }

    &_text {
      margin: 0 5px;
      font-size: 14px;
      color: #666;
      white-space: nowrap;
    }
  }
}

.editorFooter {
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  background: #1e1e1e00;
  position: absolute;
  bottom: 10px;
  right: 0;
}

.jk_card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dadada;
  box-sizing: border-box;

  &_body {
    padding: 10px;
    position: relative;

    &_list {
      margin-bottom: 5px;
      border: 2px solid #67c23a;
      border-radius: 5px;
      padding: 5px;
      box-sizing: border-box;
    }
  }

  &_header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #429dff;
    color: #ffffff;
    border-bottom: 1px solid #eee;

    :deep(.el-checkbox__label) {
      color: white;
    }

    :deep(.el-checkbox__input .is-checked) {
      background-color: #ffffff;
      border-color: #ffffff;
      color: white;
    }
  }
}

.s {
  display: flex;
  justify-content: space-between;
  &_left {
    height: 600px;
    width: 550px;
    margin-right: 15px;
    overflow: auto;
    flex-shrink: 0;
  }
  &_right {
    width: 300px;
    flex-grow: 1;
  }

  &_top {
    display: flex;
    align-items: center;
    margin-bottom: 10px;

    :deep(.el-select) {
      width: 100px;
    }

    :deep(.el-select__selected-item) {
      text-align: center;
    }
  }
}
.selectFieldList,
.selectFieldListInput,
.whereSelect {
  :deep(.el-form-item.is-error),
  :deep(.el-select__wrapper),
  :deep(.el-input__wrapper) {
    box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color))
      inset !important;
  }

  :deep(.el-input__wrapper:hover) {
    box-shadow: 0 0 0 1px var(--el-input-hover-border-color) inset !important;
  }

  :deep(.is-focus.el-input__wrapper:hover) {
    box-shadow: 0 0 0 1px var(--el-input-focus-border-color) inset !important;
  }

  :deep(.is-focus) {
    box-shadow: 0 0 0 1px var(--el-input-focus-border-color) inset !important;
  }

  :deep(.el-select__wrapper.is-hovering) {
    box-shadow: 0 0 0 1px var(--el-border-color-hover) inset !important;
  }

  :deep(.is-focused.el-select__wrapper.is-hovering) {
    box-shadow: 0 0 0 1px var(--el-color-primary) inset !important;
  }
  :deep(.el-select__wrapper.is-focused) {
    box-shadow: 0 0 0 1px var(--el-color-primary) inset !important;
  }
  :deep(.el-checkbox__label){
    line-height: 16px;
  }
}

.insertFieldLabel {
  max-width: 150px;
  text-overflow: ellipsis;
  overflow: hidden;
}
